<template>
  <div id="app">
    <h1>父类组件 --> {{counterStore.count}}</h1>
    <PainaSon1></PainaSon1>
    <PainaSon2></PainaSon2>
  </div>
</template>
<script setup>

import {userCounterStore} from "@/store";
import PainaSon1 from "@/components/Paina-Son1.vue";
import PainaSon2 from "@/components/Paina-Son2.vue";
const counterStore = new userCounterStore()
</script>
<style scoped lang="less">

</style>
